-
Notifications
You must be signed in to change notification settings - Fork 508
fix: OpenAI Instrumentation with Streaming Support #1086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…molagents_system notebook
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements streaming support for OpenAI instrumentation while refactoring existing modules and updating error handling and telemetry logging. Key changes include:
- Adding synchronous and asynchronous streaming wrappers for agent, workflow, tool, and team methods in the Agno instrumentation module.
- Introducing a new Google ADK instrumentor and updating module import paths for various providers.
- Revising documentation in the instrumentation README to reflect new streaming support and common module usage.
Reviewed Changes
Copilot reviewed 9 out of 129 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| agentops/instrumentation/agentic/google_adk/instrumentor.py | New instrumentor with patching for Google ADK telemetry. |
| agentops/instrumentation/agentic/google_adk/init.py | Exposes library info and instrumentor for Google ADK. |
| agentops/instrumentation/agentic/crewai/init.py | New CrewAI instrumentation module initialization. |
| agentops/instrumentation/agentic/agno/instrumentor.py | Extensive updates to support streaming via new wrapper parameters. |
| agentops/instrumentation/agentic/agno/init.py | Updated Agno library information and version management. |
| agentops/instrumentation/agentic/ag2/init.py | New AG2 instrumentation module with updated library info. |
| agentops/instrumentation/agentic/ag2/init.py (deleted version) | Removal of legacy AG2 instrumentation file. |
| agentops/instrumentation/init.py | Updates to module paths and provider configurations. |
| agentops/instrumentation/README.md | Revised documentation with usage examples and best practices. |
…pdate references across the codebase
|
Stale |
📥 Pull Request
closes #1082
📘 Description
🧪 Testing
Tested with example script.